package com.zmn.plat.model.entity.supplier;


import com.zmn.common.utils.pager.LayuiPage;

import java.util.Date;

/**
 * 类描述： ScmSupplier 供应商 实体
 *
 * @author DaiZhichao
 * @since 2018/10/26 17:35
 */

public class ScmSupplierQuery extends LayuiPage {

    public static Short SUPPLIER_TYPE_ALL = null;
    public static short SUPPLIER_TYPE_COMPANY = 1;
    public static short SUPPLIER_TYPE_COMMON = 2;

    private Integer supplierId;
    private Integer companyId;
    private Integer zmnCompanyId;
    private Integer useCompanyId;
    private Short type;
    private String name;
    private String remark;
    private Short status;
    private String creater;
    private String updater;
    private Date createTime;
    private Date updateTime;



    /**
     * 排序
     * 可用值："DESC" "ASC"
     */
    private String order;

    public Integer getZmnCompanyId() {
        return zmnCompanyId;
    }

    public void setZmnCompanyId(Integer zmnCompanyId) {
        this.zmnCompanyId = zmnCompanyId;
    }

    public Integer getUseCompanyId() {
        return useCompanyId;
    }

    public void setUseCompanyId(Integer useCompanyId) {
        this.useCompanyId = useCompanyId;
    }

    public Short getType() {
        return type;
    }

    public void setType(Short type) {
        this.type = type;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "ScmSupplierQuery{" +
                "supplierId=" + supplierId +
                ", companyId=" + companyId +
                ", name='" + name + '\'' +
                ", remark='" + remark + '\'' +
                ", status=" + status +
                ", creater='" + creater + '\'' +
                ", updater='" + updater + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", order='" + order + '\'' +
                "} " + super.toString();
    }
}